home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 17 / Developer Source Volume 17 (I-MODE Publications, Inc.)(2000).iso / sdevl / 851 / barnf204.gif < prev    next >
Graphics Interchange Format  |  1998-10-01  |  57KB  |  611x401  |  4-bit (16 colors)
Labels: text | screenshot | number | font | parallel | document | line | diagram
OCR: A Figure 4. The Implementation Class Diagram for a Bank Account Persistent Object 4 Currency Account amo int : Float CurrencyType accountNumber : Number balancedfor currencyType: CurrencyType -name : String balance : Currency 1.1 uscurrency : Boolean Cuchange Rate : Float + deposita Currency ; Currency) : Currency +add(aCurrency : Currency +isuscurrency() : Boolean +withdranta Currency : Currency) : Currency + subtractlaCurrency : Currency) describes + getHaniell : String + queryBalance() ; Float + multiplyByfan Amount - Float) + setName(aNamne : Strice) + operlaCurrency : Currency) : Account +divide ByfanAmount ; Float! +close() + convertTo(aCurrencyType : CurrencyType) : Currency +getExchangeRate(y : Fiba! #setExchangeRate[rate - Float) #setCurrency(aCurrency: Currency) #getAmount() - Ficat #getCurrency:) - Currency #setAmount(anAmount : Float? #RetCurrencyTypen) - CurrencyType, #setCurrencyTypelaType : "CurrencyType) #isUSCurrency() : Boolean #sotuSCurrencytesindicator : Boolean) USCurrencyType Ssingleton : USCurrencyType +isUSCurrensy!) = Boolean + getName() : String +sathamelallame .: String) +gelExchange Rate{} - Ficat #selExchange Rate (rate = Float} : Ssetsingleton(aUSCurrencyType) . USCurrencyType + SgetSingletonD) : Currency ?pe